#!/bin/bash
# fake.sh
#
# Fake login script

sfake()

function sfake ()
{
	while [ 1 ]
	do
		sfake_fill_in "${USER}@${HOSTNAME}:${PWD/$HOME/~}$"
	done
	
	exit 0
}

function sfake_fill_in ()
{
	echo -n "$1"
	read var

	sfake_parse $var 
}

function sfake_parse ()
{
	case "$1" in
		q) break
		;;
		*) echo "bash: $1: command not found"
		;;
	esac
}    
